import request from '@/utils/request'


// 桥梁震害因子量化取值表查询
export function getAllBdFactor (query) {
    return request({
      url: '/bdFactor/getAllBdFactor',
      method: 'get',
      params: query
    })
  }

//桥梁震害因子量化取值表添加或修改
export function saveOrUpdateBdFactor (data) {
    return request({
      url: '/bdFactor/saveOrUpdateBdFactor',
      method: 'post',
      data: data
    })
  }

  //桥梁震害因子量化取值表删除
  export function deleteBdFactorById (query) {
    return request({
      url: '/bdFactor/deleteBdFactorById',
      method: 'get',
      params: query
    })
  }

